﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.OA.TeamWorks.TaskRejectReplyRecord
{
    /// <summary>
    /// 工作流任务驳回回复记录
    /// </summary>
    public class TaskRejectReplyRecordRequestDto
    {
        /// <summary>
        /// 工作流活动实例Id
        /// </summary>
        [Display(Name = "工作流活动实例Id")]
        [Required(ErrorMessage ="{0} 不允许为空")]
        public long WorkflowActivityInstanceId { get; set; }
        /// <summary>
        /// 驳回记录Id
        /// </summary>
        [Display(Name = "驳回记录Id")]
        [Required(ErrorMessage = "{0} 不允许为空")]
        public long TaskRejectRecordId { get; set; }
        /// <summary>
        /// 回复内容
        /// </summary>
        [Display(Name = "回复内容")]
        [Required(ErrorMessage = "{0} 不允许为空")]
        [StringLength(4000,MinimumLength =1,ErrorMessage = "回复内容不允许为空")]
        public string ReplyContent { get; set; }
    }
}
